package com.example.happ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.happ.pojo.Review;
import org.apache.ibatis.annotations.Select;

public interface ReviewInfoMapper extends BaseMapper<Review> {
    @Select("select count(*) from review where status = 2 and store_id = #{arg0}")
    int selectReviewCount(int id);
}
